.b-message {
  min-width: 380px;
  height: 48px;
  line-height: 48px;
  box-sizing: border-box;
  border-radius: 4px;
  border: 1px solid #ebeef5;
  position: fixed;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  background-color: #edf2fc;
  transition: opacity .3s,transform .4s,top .4s;
  overflow: hidden;
  padding: 15px 15px 15px 20px;
  display: flex;
  align-items: center;

  .b-messgae-icon {
    vertical-align: center;
  }
  .b-message-content {
    font-size: 14px;
    margin-left: 10px;
  }
}

.b-message-info {
  background-color: #edf2fc;
  color: #909399;
  .b-messgae-icon {
    color: #909399;
  }
}

.b-message-success {
  background-color: #f0f9eb;
  border-color: #e1f3d8;
  color: #67c23a;
  .b-messgae-icon {
    color: #67c23a;
  }
}

.b-message-warning {
  background-color: #fdf6ec;
  border-color: #faecd8;
  color: #e6a23c;
  .b-messgae-icon {
    color: #e6a23c;
  }
}

.b-message-error {
  background-color: #fef0f0;
  border-color: #fde2e2;
  color: #f56c6c;
  .b-messgae-icon {
    color: #f56c6c;
  }
}